<HTML>
<HEAD>
<meta charset="UTF-8">
<title>DefaultAudioVideoFacade.realtimeSetVoiceFocusEnabled - amazon-chime-sdk</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">amazon-chime-sdk</a>&nbsp;/&nbsp;<a href="../index.html">com.amazonaws.services.chime.sdk.meetings.audiovideo</a>&nbsp;/&nbsp;<a href="index.html">DefaultAudioVideoFacade</a>&nbsp;/&nbsp;<a href="./realtime-set-voice-focus-enabled.html">realtimeSetVoiceFocusEnabled</a><br/>
<br/>
<h1>realtimeSetVoiceFocusEnabled</h1>
<a name="com.amazonaws.services.chime.sdk.meetings.audiovideo.DefaultAudioVideoFacade$realtimeSetVoiceFocusEnabled(kotlin.Boolean)"></a>
<code><span class="keyword">fun </span><span class="identifier">realtimeSetVoiceFocusEnabled</span><span class="symbol">(</span><span class="identifier" id="com.amazonaws.services.chime.sdk.meetings.audiovideo.DefaultAudioVideoFacade$realtimeSetVoiceFocusEnabled(kotlin.Boolean)/enabled">enabled</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code>
<p>Enable or disable Amazon Voice Focus (ML-based noise suppression) on the audio input.</p>
<p>Amazon Voice Focus is disabled by default when audioClient starts.</p>
<h3>Parameters</h3>
<p><a name="enabled"></a>
<code>enabled</code> - : Boolean - whether to enable Amazon Voice Focus or not</p>
<p><strong>Return</strong><br/>
Boolean whether the enable/disable action succeeded</p>
</BODY>
</HTML>
